package com.jiajia.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jiajia.server.pojo.Admin;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jiajia
 * @since 2021-08-10
 */
public interface AdminMapper extends BaseMapper<Admin> {
    /**
     * 查询操作员
     * @param adminId
     * @param keyword
     * @return
     */
    List<Admin> getAllAdmin(@Param("adminId") Integer adminId, @Param("keyword") String keyword);
}
